<template>
  <div class="g-container">
    <div class="g-left">左</div>
    <div class="g-right">右</div>
    <div class="g-top">上</div>
    <div class="g-bottom">下</div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
.g-container {
  padding: 20px;
  line-height: 24px;
  display: flex;

  & > div {
    margin: 30px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border: 1px solid #000;
    text-align: center;
  }

  .g-left {
    box-shadow: -7px 0 5px -5px #333;
  }

  .g-right {
    box-shadow: 7px 0 5px -5px #333;
  }

  .g-top {
    box-shadow: 0 -7px 5px -5px #333;
  }

  .g-bottom {
    box-shadow: 0 7px 5px -5px #333;
  }
}
</style>